home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Programming / Perl / lib / perl5 / 5.00502 / m68k-amigaos / CORE / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-01  |  64.1 KB  |  2,100 lines

  1. /*
  2.  * This file was produced by running the config_h.SH script, which
  3.  * gets its values from config.sh, which is generally produced by
  4.  * running Configure.
  5.  *
  6.  * Feel free to modify any of this as the need arises.  Note, however,
  7.  * that running config_h.SH again will wipe out any changes you've made.
  8.  * For a more permanent change edit config.sh and rerun config_h.SH.
  9.  *
  10.  * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
  11.  */
  12.  
  13. /*
  14.  * Package name      : perl5
  15.  * Source directory  : .
  16.  * Configuration time: Fri May 21 23:02:59 MST 1999
  17.  * Configured by     : fnf
  18.  * Target system     : amigaos fishbait.local 3.1 40.68 m68k 68040 
  19.  */
  20.  
  21. #ifndef _config_h_
  22. #define _config_h_
  23.  
  24. /* LOC_SED:
  25.  *    This symbol holds the complete pathname to the sed program.
  26.  */
  27. #define LOC_SED     "/bin/sed"    /**/
  28.  
  29. /* BIN:
  30.  *    This symbol holds the path of the bin directory where the package will
  31.  *    be installed. Program must be prepared to deal with ~name substitution.
  32.  */
  33. /* BIN_EXP:
  34.  *    This symbol is the filename expanded version of the BIN symbol, for
  35.  *    programs that do not want to deal with that at run-time.
  36.  */
  37. #define BIN "/gg/bin"    /**/
  38. #define BIN_EXP "/gg/bin"    /**/
  39.  
  40. /* CPPSTDIN:
  41.  *    This symbol contains the first part of the string which will invoke
  42.  *    the C preprocessor on the standard input and produce to standard
  43.  *    output.     Typical value of "cc -E" or "/lib/cpp", but it can also
  44.  *    call a wrapper. See CPPRUN.
  45.  */
  46. /* CPPMINUS:
  47.  *    This symbol contains the second part of the string which will invoke
  48.  *    the C preprocessor on the standard input and produce to standard
  49.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  50.  *    to specify standard input, otherwise the value is "".
  51.  */
  52. #define CPPSTDIN "gcc -E"
  53. #define CPPMINUS "-"
  54.  
  55. /* HAS_ALARM:
  56.  *    This symbol, if defined, indicates that the alarm routine is
  57.  *    available.
  58.  */
  59. #define HAS_ALARM        /**/
  60.  
  61. /* HASATTRIBUTE:
  62.  *    This symbol indicates the C compiler can check for function attributes,
  63.  *    such as printf formats. This is normally only supported by GNU cc.
  64.  */
  65. #define HASATTRIBUTE     /**/
  66. #ifndef HASATTRIBUTE
  67. #define __attribute__(_arg_)
  68. #endif
  69.  
  70. /* HAS_BCMP:
  71.  *    This symbol is defined if the bcmp() routine is available to
  72.  *    compare blocks of memory.
  73.  */
  74. #define HAS_BCMP    /**/
  75.  
  76. /* HAS_BCOPY:
  77.  *    This symbol is defined if the bcopy() routine is available to
  78.  *    copy blocks of memory.
  79.  */
  80. #define HAS_BCOPY    /**/
  81.  
  82. /* HAS_BZERO:
  83.  *    This symbol is defined if the bzero() routine is available to
  84.  *    set a memory block to 0.
  85.  */
  86. #define HAS_BZERO    /**/
  87.  
  88. /* HAS_CHOWN:
  89.  *    This symbol, if defined, indicates that the chown routine is
  90.  *    available.
  91.  */
  92. #define HAS_CHOWN        /**/
  93.  
  94. /* HAS_CHROOT:
  95.  *    This symbol, if defined, indicates that the chroot routine is
  96.  *    available.
  97.  */
  98. #define HAS_CHROOT        /**/
  99.  
  100. /* HAS_CHSIZE:
  101.  *    This symbol, if defined, indicates that the chsize routine is available
  102.  *    to truncate files.  You might need a -lx to get this routine.
  103.  */
  104. /*#define    HAS_CHSIZE        / **/
  105.  
  106. /* HASCONST:
  107.  *    This symbol, if defined, indicates that this C compiler knows about
  108.  *    the const type. There is no need to actually test for that symbol
  109.  *    within your programs. The mere use of the "const" keyword will
  110.  *    trigger the necessary tests.
  111.  */
  112. #define HASCONST    /**/
  113. #ifndef HASCONST
  114. #define const
  115. #endif
  116.  
  117. /* HAS_CRYPT:
  118.  *    This symbol, if defined, indicates that the crypt routine is available
  119.  *    to encrypt passwords and the like.
  120.  */
  121. #define HAS_CRYPT        /**/
  122.  
  123. /* HAS_CUSERID:
  124.  *    This symbol, if defined, indicates that the cuserid routine is
  125.  *    available to get character login names.
  126.  */
  127. #define HAS_CUSERID        /**/
  128.  
  129. /* HAS_DBL_DIG:
  130.  *    This symbol, if defined, indicates that this system's <float.h>
  131.  *    or <limits.h> defines the symbol DBL_DIG, which is the number
  132.  *    of significant digits in a double precision number.  If this
  133.  *    symbol is not defined, a guess of 15 is usually pretty good.
  134.  */
  135. #define HAS_DBL_DIG     /* */
  136.  
  137. /* HAS_DIFFTIME:
  138.  *    This symbol, if defined, indicates that the difftime routine is
  139.  *    available.
  140.  */
  141. #define HAS_DIFFTIME        /**/
  142.  
  143. /* HAS_DLERROR:
  144.  *    This symbol, if defined, indicates that the dlerror routine is
  145.  *    available to return a string describing the last error that
  146.  *    occurred from a call to dlopen(), dlclose() or dlsym().
  147.  */
  148. /*#define HAS_DLERROR    / **/
  149.  
  150. /* SETUID_SCRIPTS_ARE_SECURE_NOW:
  151.  *    This symbol, if defined, indicates that the bug that prevents
  152.  *    setuid scripts from being secure is not present in this kernel.
  153.  */
  154. /* DOSUID:
  155.  *    This symbol, if defined, indicates that the C program should
  156.  *    check the script that it is executing for setuid/setgid bits, and
  157.  *    attempt to emulate setuid/setgid on systems that have disabled
  158.  *    setuid #! scripts because the kernel can't do it securely.
  159.  *    It is up to the package designer to make sure that this emulation
  160.  *    is done securely.  Among other things, it should do an fstat on
  161.  *    the script it just opened to make sure it really is a setuid/setgid
  162.  *    script, it should make sure the arguments passed correspond exactly
  163.  *    to the argument on the #! line, and it should not trust any
  164.  *    subprocesses to which it must pass the filename rather than the
  165.  *    file descriptor of the script to be executed.
  166.  */
  167. /*#define SETUID_SCRIPTS_ARE_SECURE_NOW    / **/
  168. /*#define DOSUID        / **/
  169.  
  170. /* HAS_DUP2:
  171.  *    This symbol, if defined, indicates that the dup2 routine is
  172.  *    available to duplicate file descriptors.
  173.  */
  174. #define HAS_DUP2    /**/
  175.  
  176. /* HAS_FCHMOD:
  177.  *    This symbol, if defined, indicates that the fchmod routine is available
  178.  *    to change mode of opened files.  If unavailable, use chmod().
  179.  */
  180. #define HAS_FCHMOD        /**/
  181.  
  182. /* HAS_FCHOWN:
  183.  *    This symbol, if defined, indicates that the fchown routine is available
  184.  *    to change ownership of opened files.  If unavailable, use chown().
  185.  */
  186. #define HAS_FCHOWN        /**/
  187.  
  188. /* HAS_FCNTL:
  189.  *    This symbol, if defined, indicates to the C program that
  190.  *    the fcntl() function exists.
  191.  */
  192. #define HAS_FCNTL        /**/
  193.  
  194. /* HAS_FGETPOS:
  195.  *    This symbol, if defined, indicates that the fgetpos routine is
  196.  *    available to get the file position indicator, similar to ftell().
  197.  */
  198. #define HAS_FGETPOS    /**/
  199.  
  200. /* FLEXFILENAMES:
  201.  *    This symbol, if defined, indicates that the system supports filenames
  202.  *    longer than 14 characters.
  203.  */
  204. #define    FLEXFILENAMES        /**/
  205.  
  206. /* HAS_FLOCK:
  207.  *    This symbol, if defined, indicates that the flock routine is
  208.  *    available to do file locking.
  209.  */
  210. #define HAS_FLOCK        /**/
  211.  
  212. /* HAS_FORK:
  213.  *    This symbol, if defined, indicates that the fork routine is
  214.  *    available.
  215.  */
  216. /*#define HAS_FORK        / **/
  217.  
  218. /* HAS_FSETPOS:
  219.  *    This symbol, if defined, indicates that the fsetpos routine is
  220.  *    available to set the file position indicator, similar to fseek().
  221.  */
  222. #define HAS_FSETPOS    /**/
  223.  
  224. /* HAS_GETTIMEOFDAY:
  225.  *    This symbol, if defined, indicates that the gettimeofday() system
  226.  *    call is available for a sub-second accuracy clock. Usually, the file
  227.  *    <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
  228.  *    The type "Timeval" should be used to refer to "struct timeval".
  229.  */
  230. #define HAS_GETTIMEOFDAY    /**/
  231. #ifdef HAS_GETTIMEOFDAY
  232. #define Timeval struct timeval    /* Structure used by gettimeofday() */
  233. #endif
  234.  
  235. /* HAS_GETGROUPS:
  236.  *    This symbol, if defined, indicates that the getgroups() routine is
  237.  *    available to get the list of process groups.  If unavailable, multiple
  238.  *    groups are probably not supported.
  239.  */
  240. #define HAS_GETGROUPS        /**/
  241.  
  242. /* HAS_UNAME:
  243.  *    This symbol, if defined, indicates that the C program may use the
  244.  *    uname() routine to derive the host name.  See also HAS_GETHOSTNAME
  245.  *    and PHOSTNAME.
  246.  */
  247. #define HAS_UNAME        /**/
  248.  
  249. /* HAS_GETLOGIN:
  250.  *    This symbol, if defined, indicates that the getlogin routine is
  251.  *    available to get the login name.
  252.  */
  253. #define HAS_GETLOGIN        /**/
  254.  
  255. /* HAS_GETPGID:
  256.  *    This symbol, if defined, indicates to the C program that 
  257.  *    the getpgid(pid) function is available to get the
  258.  *    process group id.
  259.  */
  260. /*#define HAS_GETPGID        / **/
  261.  
  262. /* HAS_GETPGRP:
  263.  *    This symbol, if defined, indicates that the getpgrp routine is
  264.  *    available to get the current process group.
  265.  */
  266. /* USE_BSD_GETPGRP:
  267.  *    This symbol, if defined, indicates that getpgrp needs one
  268.  *    arguments whereas USG one needs none.
  269.  */
  270. #define HAS_GETPGRP        /**/
  271. /*#define USE_BSD_GETPGRP    / **/
  272.  
  273. /* HAS_GETPGRP2:
  274.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  275.  *    routine is available to get the current process group.
  276.  */
  277. /*#define HAS_GETPGRP2        / **/
  278.  
  279. /* HAS_GETPPID:
  280.  *    This symbol, if defined, indicates that the getppid routine is
  281.  *    available to get the parent process ID.
  282.  */
  283. #define HAS_GETPPID        /**/
  284.  
  285. /* HAS_GETPRIORITY:
  286.  *    This symbol, if defined, indicates that the getpriority routine is
  287.  *    available to get a process's priority.
  288.  */
  289. #define HAS_GETPRIORITY        /**/
  290.  
  291. /* HAS_HTONL:
  292.  *    This symbol, if defined, indicates that the htonl() routine (and
  293.  *    friends htons() ntohl() ntohs()) are available to do network
  294.  *    order byte swapping.
  295.  */
  296. /* HAS_HTONS:
  297.  *    This symbol, if defined, indicates that the htons() routine (and
  298.  *    friends htonl() ntohl() ntohs()) are available to do network
  299.  *    order byte swapping.
  300.  */
  301. /* HAS_NTOHL:
  302.  *    This symbol, if defined, indicates that the ntohl() routine (and
  303.  *    friends htonl() htons() ntohs()) are available to do network
  304.  *    order byte swapping.
  305.  */
  306. /* HAS_NTOHS:
  307.  *    This symbol, if defined, indicates that the ntohs() routine (and
  308.  *    friends htonl() htons() ntohl()) are available to do network
  309.  *    order byte swapping.
  310.  */
  311. #define HAS_HTONL        /**/
  312. #define HAS_HTONS        /**/
  313. #define HAS_NTOHL        /**/
  314. #define HAS_NTOHS        /**/
  315.  
  316. /* HAS_INET_ATON:
  317.  *    This symbol, if defined, indicates to the C program that the
  318.  *    inet_aton() function is available to parse IP address "dotted-quad"
  319.  *    strings.
  320.  */
  321. #define HAS_INET_ATON        /**/
  322.  
  323. /* HAS_KILLPG:
  324.  *    This symbol, if defined, indicates that the killpg routine is available
  325.  *    to kill process groups.  If unavailable, you probably should use kill
  326.  *    with a negative process number.
  327.  */
  328. #define HAS_KILLPG    /**/
  329.  
  330. /* HAS_LINK:
  331.  *    This symbol, if defined, indicates that the link routine is
  332.  *    available to create hard links.
  333.  */
  334. #define HAS_LINK    /**/
  335.  
  336. /* HAS_LOCALECONV:
  337.  *    This symbol, if defined, indicates that the localeconv routine is
  338.  *    available for numeric and monetary formatting conventions.
  339.  */
  340. #define HAS_LOCALECONV    /**/
  341.  
  342. /* HAS_LOCKF:
  343.  *    This symbol, if defined, indicates that the lockf routine is
  344.  *    available to do file locking.
  345.  */
  346. /*#define HAS_LOCKF        / **/
  347.  
  348. /* HAS_LSTAT:
  349.  *    This symbol, if defined, indicates that the lstat routine is
  350.  *    available to do file stats on symbolic links.
  351.  */
  352. #define HAS_LSTAT        /**/
  353.  
  354. /* HAS_MBLEN:
  355.  *    This symbol, if defined, indicates that the mblen routine is available
  356.  *    to find the number of bytes in a multibye character.
  357.  */
  358. #define HAS_MBLEN        /**/
  359.  
  360. /* HAS_MBSTOWCS:
  361.  *    This symbol, if defined, indicates that the mbstowcs routine is
  362.  *    available to covert a multibyte string into a wide character string.
  363.  */
  364. #define    HAS_MBSTOWCS        /**/
  365.  
  366. /* HAS_MBTOWC:
  367.  *    This symbol, if defined, indicates that the mbtowc routine is available
  368.  *    to covert a multibyte to a wide character.
  369.  */
  370. #define HAS_MBTOWC        /**/
  371.  
  372. /* HAS_MEMCMP:
  373.  *    This symbol, if defined, indicates that the memcmp routine is available
  374.  *    to compare blocks of memory.
  375.  */
  376. #define HAS_MEMCMP    /**/
  377.  
  378. /* HAS_MEMCPY:
  379.  *    This symbol, if defined, indicates that the memcpy routine is available
  380.  *    to copy blocks of memory.
  381.  */
  382. #define HAS_MEMCPY    /**/
  383.  
  384. /* HAS_MEMMOVE:
  385.  *    This symbol, if defined, indicates that the memmove routine is available
  386.  *    to copy potentially overlapping blocks of memory. This should be used
  387.  *    only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
  388.  *    own version.
  389.  */
  390. #define HAS_MEMMOVE    /**/
  391.  
  392. /* HAS_MEMSET:
  393.  *    This symbol, if defined, indicates that the memset routine is available
  394.  *    to set blocks of memory.
  395.  */
  396. #define HAS_MEMSET    /**/
  397.  
  398. /* HAS_MKDIR:
  399.  *    This symbol, if defined, indicates that the mkdir routine is available
  400.  *    to create directories.  Otherwise you should fork off a new process to
  401.  *    exec /bin/mkdir.
  402.  */
  403. #define HAS_MKDIR        /**/
  404.  
  405. /* HAS_MKFIFO:
  406.  *    This symbol, if defined, indicates that the mkfifo routine is
  407.  *    available to create FIFOs. Otherwise, mknod should be able to
  408.  *    do it for you. However, if mkfifo is there, mknod might require
  409.  *    super-user privileges which mkfifo will not.
  410.  */
  411. #define HAS_MKFIFO        /**/
  412.  
  413. /* HAS_MKTIME:
  414.  *    This symbol, if defined, indicates that the mktime routine is
  415.  *    available.
  416.  */
  417. #define HAS_MKTIME        /**/
  418.  
  419. /* HAS_MSG:
  420.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  421.  *    supported (IPC mechanism based on message queues).
  422.  */
  423. #define HAS_MSG        /**/
  424.  
  425. /* HAS_NICE:
  426.  *    This symbol, if defined, indicates that the nice routine is
  427.  *    available.
  428.  */
  429. #define HAS_NICE        /**/
  430.  
  431. /* HAS_PATHCONF:
  432.  *    This symbol, if defined, indicates that pathconf() is available
  433.  *    to determine file-system related limits and options associated
  434.  *    with a given filename.
  435.  */
  436. /* HAS_FPATHCONF:
  437.  *    This symbol, if defined, indicates that pathconf() is available
  438.  *    to determine file-system related limits and options associated
  439.  *    with a given open file descriptor.
  440.  */
  441. #define HAS_PATHCONF        /**/
  442. #define HAS_FPATHCONF        /**/
  443.  
  444. /* HAS_PAUSE:
  445.  *    This symbol, if defined, indicates that the pause routine is
  446.  *    available to suspend a process until a signal is received.
  447.  */
  448. #define HAS_PAUSE        /**/
  449.  
  450. /* HAS_PIPE:
  451.  *    This symbol, if defined, indicates that the pipe routine is
  452.  *    available to create an inter-process channel.
  453.  */
  454. #define HAS_PIPE        /**/
  455.  
  456. /* HAS_POLL:
  457.  *    This symbol, if defined, indicates that the poll routine is
  458.  *    available to poll active file descriptors. You may safely
  459.  *    include <poll.h> when this symbol is defined.
  460.  */
  461. /*#define HAS_POLL        / **/
  462.  
  463. /* HAS_READDIR:
  464.  *    This symbol, if defined, indicates that the readdir routine is
  465.  *    available to read directory entries. You may have to include
  466.  *    <dirent.h>. See I_DIRENT.
  467.  */
  468. #define HAS_READDIR        /**/
  469.  
  470. /* HAS_SEEKDIR:
  471.  *    This symbol, if defined, indicates that the seekdir routine is
  472.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  473.  */
  474. #define HAS_SEEKDIR        /**/
  475.  
  476. /* HAS_TELLDIR:
  477.  *    This symbol, if defined, indicates that the telldir routine is
  478.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  479.  */
  480. #define HAS_TELLDIR        /**/
  481.  
  482. /* HAS_REWINDDIR:
  483.  *    This symbol, if defined, indicates that the rewinddir routine is
  484.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  485.  */
  486. #define HAS_REWINDDIR        /**/
  487.  
  488. /* HAS_READLINK:
  489.  *    This symbol, if defined, indicates that the readlink routine is
  490.  *    available to read the value of a symbolic link.
  491.  */
  492. #define HAS_READLINK        /**/
  493.  
  494. /* HAS_RENAME:
  495.  *    This symbol, if defined, indicates that the rename routine is available
  496.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  497.  *    trick.
  498.  */
  499. #define HAS_RENAME    /**/
  500.  
  501. /* HAS_RMDIR:
  502.  *    This symbol, if defined, indicates that the rmdir routine is
  503.  *    available to remove directories. Otherwise you should fork off a
  504.  *    new process to exec /bin/rmdir.
  505.  */
  506. #define HAS_RMDIR        /**/
  507.  
  508. /* HAS_SELECT:
  509.  *    This symbol, if defined, indicates that the select routine is
  510.  *    available to select active file descriptors. If the timeout field
  511.  *    is used, <sys/time.h> may need to be included.
  512.  */
  513. #define HAS_SELECT    /**/
  514.  
  515. /* HAS_SEM:
  516.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  517.  *    supported.
  518.  */
  519. #define HAS_SEM        /**/
  520.  
  521. /* HAS_SETEGID:
  522.  *    This symbol, if defined, indicates that the setegid routine is available
  523.  *    to change the effective gid of the current program.
  524.  */
  525. #define HAS_SETEGID        /**/
  526.  
  527. /* HAS_SETEUID:
  528.  *    This symbol, if defined, indicates that the seteuid routine is available
  529.  *    to change the effective uid of the current program.
  530.  */
  531. #define HAS_SETEUID        /**/
  532.  
  533. /* HAS_SETLINEBUF:
  534.  *    This symbol, if defined, indicates that the setlinebuf routine is
  535.  *    available to change stderr or stdout from block-buffered or unbuffered
  536.  *    to a line-buffered mode.
  537.  */
  538. #define HAS_SETLINEBUF        /**/
  539.  
  540. /* HAS_SETLOCALE:
  541.  *    This symbol, if defined, indicates that the setlocale routine is
  542.  *    available to handle locale-specific ctype implementations.
  543.  */
  544. #define HAS_SETLOCALE    /**/
  545.  
  546. /* HAS_SETPGID:
  547.  *    This symbol, if defined, indicates that the setpgid(pid, gpid)
  548.  *    routine is available to set process group ID.
  549.  */
  550. #define HAS_SETPGID    /**/
  551.  
  552. /* HAS_SETPGRP:
  553.  *    This symbol, if defined, indicates that the setpgrp routine is
  554.  *    available to set the current process group.
  555.  */
  556. /* USE_BSD_SETPGRP:
  557.  *    This symbol, if defined, indicates that setpgrp needs two
  558.  *    arguments whereas USG one needs none.  See also HAS_SETPGID
  559.  *    for a POSIX interface.
  560.  */
  561. #define HAS_SETPGRP        /**/
  562. /*#define USE_BSD_SETPGRP    / **/
  563.  
  564. /* HAS_SETPGRP2:
  565.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  566.  *    routine is available to set the current process group.
  567.  */
  568. /*#define HAS_SETPGRP2        / **/
  569.  
  570. /* HAS_SETPRIORITY:
  571.  *    This symbol, if defined, indicates that the setpriority routine is
  572.  *    available to set a process's priority.
  573.  */
  574. #define HAS_SETPRIORITY        /**/
  575.  
  576. /* HAS_SETREGID:
  577.  *    This symbol, if defined, indicates that the setregid routine is
  578.  *    available to change the real and effective gid of the current
  579.  *    process.
  580.  */
  581. /* HAS_SETRESGID:
  582.  *    This symbol, if defined, indicates that the setresgid routine is
  583.  *    available to change the real, effective and saved gid of the current
  584.  *    process.
  585.  */
  586. #define HAS_SETREGID        /**/
  587. /*#define HAS_SETRESGID        / **/
  588.  
  589. /* HAS_SETREUID:
  590.  *    This symbol, if defined, indicates that the setreuid routine is
  591.  *    available to change the real and effective uid of the current
  592.  *    process.
  593.  */
  594. /* HAS_SETRESUID:
  595.  *    This symbol, if defined, indicates that the setresuid routine is
  596.  *    available to change the real, effective and saved uid of the current
  597.  *    process.
  598.  */
  599. #define HAS_SETREUID        /**/
  600. /*#define HAS_SETRESUID        / **/
  601.  
  602. /* HAS_SETRGID:
  603.  *    This symbol, if defined, indicates that the setrgid routine is available
  604.  *    to change the real gid of the current program.
  605.  */
  606. /*#define HAS_SETRGID        / **/
  607.  
  608. /* HAS_SETRUID:
  609.  *    This symbol, if defined, indicates that the setruid routine is available
  610.  *    to change the real uid of the current program.
  611.  */
  612. /*#define HAS_SETRUID        / **/
  613.  
  614. /* HAS_SETSID:
  615.  *    This symbol, if defined, indicates that the setsid routine is
  616.  *    available to set the process group ID.
  617.  */
  618. #define HAS_SETSID    /**/
  619.  
  620. /* HAS_SHM:
  621.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  622.  *    supported.
  623.  */
  624. #define HAS_SHM        /**/
  625.  
  626. /* Shmat_t:
  627.  *    This symbol holds the return type of the shmat() system call.
  628.  *    Usually set to 'void *' or 'char *'.
  629.  */
  630. /* HAS_SHMAT_PROTOTYPE:
  631.  *    This symbol, if defined, indicates that the sys/shm.h includes
  632.  *    a prototype for shmat().  Otherwise, it is up to the program to
  633.  *    guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
  634.  *    but not always right so it should be emitted by the program only
  635.  *    when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
  636.  */
  637. #define Shmat_t char *    /**/
  638. #define HAS_SHMAT_PROTOTYPE    /**/
  639.  
  640. /* USE_STAT_BLOCKS:
  641.  *    This symbol is defined if this system has a stat structure declaring
  642.  *    st_blksize and st_blocks.
  643.  */
  644. #define USE_STAT_BLOCKS     /**/
  645.  
  646. /* HAS_STRCHR:
  647.  *    This symbol is defined to indicate that the strchr()/strrchr()
  648.  *    functions are available for string searching. If not, try the
  649.  *    index()/rindex() pair.
  650.  */
  651. /* HAS_INDEX:
  652.  *    This symbol is defined to indicate that the index()/rindex()
  653.  *    functions are available for string searching.
  654.  */
  655. #define HAS_STRCHR    /**/
  656. /*#define HAS_INDEX    / **/
  657.  
  658. /* HAS_STRCOLL:
  659.  *    This symbol, if defined, indicates that the strcoll routine is
  660.  *    available to compare strings using collating information.
  661.  */
  662. #define HAS_STRCOLL    /**/
  663.  
  664. /* USE_STRUCT_COPY:
  665.  *    This symbol, if defined, indicates that this C compiler knows how
  666.  *    to copy structures.  If undefined, you'll need to use a block copy
  667.  *    routine of some sort instead.
  668.  */
  669. #define    USE_STRUCT_COPY    /**/
  670.  
  671. /* HAS_STRERROR:
  672.  *    This symbol, if defined, indicates that the strerror routine is
  673.  *    available to translate error numbers to strings. See the writeup
  674.  *    of Strerror() in this file before you try to define your own.
  675.  */
  676. /* HAS_SYS_ERRLIST:
  677.  *    This symbol, if defined, indicates that the sys_errlist array is
  678.  *    available to translate error numbers to strings. The extern int
  679.  *    sys_nerr gives the size of that table.
  680.  */
  681. /* Strerror:
  682.  *    This preprocessor symbol is defined as a macro if strerror() is
  683.  *    not available to translate error numbers to strings but sys_errlist[]
  684.  *    array is there.
  685.  */
  686. #define HAS_STRERROR        /**/
  687. #define HAS_SYS_ERRLIST    /**/
  688. #define Strerror(e) strerror(e)
  689.  
  690. /* HAS_STRTOD:
  691.  *    This symbol, if defined, indicates that the strtod routine is
  692.  *    available to provide better numeric string conversion than atof().
  693.  */
  694. #define HAS_STRTOD    /**/
  695.  
  696. /* HAS_STRTOL:
  697.  *    This symbol, if defined, indicates that the strtol routine is available
  698.  *    to provide better numeric string conversion than atoi() and friends.
  699.  */
  700. #define HAS_STRTOL    /**/
  701.  
  702. /* HAS_STRTOUL:
  703.  *    This symbol, if defined, indicates that the strtoul routine is
  704.  *    available to provide conversion of strings to unsigned long.
  705.  */
  706. #define HAS_STRTOUL    /**/
  707.  
  708. /* HAS_STRXFRM:
  709.  *    This symbol, if defined, indicates that the strxfrm() routine is
  710.  *    available to transform strings.
  711.  */
  712. #define HAS_STRXFRM    /**/
  713.  
  714. /* HAS_SYMLINK:
  715.  *    This symbol, if defined, indicates that the symlink routine is available
  716.  *    to create symbolic links.
  717.  */
  718. #define HAS_SYMLINK    /**/
  719.  
  720. /* HAS_SYSCALL:
  721.  *    This symbol, if defined, indicates that the syscall routine is
  722.  *    available to call arbitrary system calls. If undefined, that's tough.
  723.  */
  724. /*#define HAS_SYSCALL    / **/
  725.  
  726. /* HAS_SYSCONF:
  727.  *    This symbol, if defined, indicates that sysconf() is available
  728.  *    to determine system related limits and options.
  729.  */
  730. #define HAS_SYSCONF    /**/
  731.  
  732. /* HAS_SYSTEM:
  733.  *    This symbol, if defined, indicates that the system routine is
  734.  *    available to issue a shell command.
  735.  */
  736. #define HAS_SYSTEM    /**/
  737.  
  738. /* HAS_TCGETPGRP:
  739.  *    This symbol, if defined, indicates that the tcgetpgrp routine is
  740.  *    available to get foreground process group ID.
  741.  */
  742. #define HAS_TCGETPGRP        /**/
  743.  
  744. /* HAS_TCSETPGRP:
  745.  *    This symbol, if defined, indicates that the tcsetpgrp routine is
  746.  *    available to set foreground process group ID.
  747.  */
  748. #define HAS_TCSETPGRP        /**/
  749.  
  750. /* HAS_TRUNCATE:
  751.  *    This symbol, if defined, indicates that the truncate routine is
  752.  *    available to truncate files.
  753.  */
  754. #define HAS_TRUNCATE    /**/
  755.  
  756. /* HAS_TZNAME:
  757.  *    This symbol, if defined, indicates that the tzname[] array is
  758.  *    available to access timezone names.
  759.  */
  760. #define HAS_TZNAME        /**/
  761.  
  762. /* HAS_UMASK:
  763.  *    This symbol, if defined, indicates that the umask routine is
  764.  *    available to set and get the value of the file creation mask.
  765.  */
  766. #define HAS_UMASK        /**/
  767.  
  768. /* HAS_VFORK:
  769.  *    This symbol, if defined, indicates that vfork() exists.
  770.  */
  771. #define HAS_VFORK    /**/
  772.  
  773. /* HASVOLATILE:
  774.  *    This symbol, if defined, indicates that this C compiler knows about
  775.  *    the volatile declaration.
  776.  */
  777. #define    HASVOLATILE    /**/
  778. #ifndef HASVOLATILE
  779. #define volatile
  780. #endif
  781.  
  782. /* HAS_WAIT4:
  783.  *    This symbol, if defined, indicates that wait4() exists.
  784.  */
  785. #define HAS_WAIT4    /**/
  786.  
  787. /* HAS_WAITPID:
  788.  *    This symbol, if defined, indicates that the waitpid routine is
  789.  *    available to wait for child process.
  790.  */
  791. #define HAS_WAITPID    /**/
  792.  
  793. /* HAS_WCSTOMBS:
  794.  *    This symbol, if defined, indicates that the wcstombs routine is
  795.  *    available to convert wide character strings to multibyte strings.
  796.  */
  797. #define HAS_WCSTOMBS    /**/
  798.  
  799. /* HAS_WCTOMB:
  800.  *    This symbol, if defined, indicates that the wctomb routine is available
  801.  *    to covert a wide character to a multibyte.
  802.  */
  803. #define HAS_WCTOMB        /**/
  804.  
  805. /* EBCDIC:
  806.  *    This symbol, if defined, indicates that this system uses
  807.  *    EBCDIC encoding.
  808.  */
  809. /*#define    EBCDIC         / **/
  810.  
  811. /* I_ARPA_INET:
  812.  *    This symbol, if defined, indicates that <arpa/inet.h> exists and should
  813.  *    be included.
  814.  */
  815. #define I_ARPA_INET    /**/
  816.  
  817. /* I_DBM:
  818.  *    This symbol, if defined, indicates that <dbm.h> exists and should
  819.  *    be included.
  820.  */
  821. /* I_RPCSVC_DBM:
  822.  *    This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
  823.  *    should be included.
  824.  */
  825. /*#define I_DBM    / **/
  826. /*#define I_RPCSVC_DBM    / **/
  827.  
  828. /* I_DIRENT:
  829.  *    This symbol, if defined, indicates to the C program that it should
  830.  *    include <dirent.h>. Using this symbol also triggers the definition
  831.  *    of the Direntry_t define which ends up being 'struct dirent' or
  832.  *    'struct direct' depending on the availability of <dirent.h>.
  833.  */
  834. /* DIRNAMLEN:
  835.  *    This symbol, if defined, indicates to the C program that the length
  836.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  837.  *    you need to do strlen() on the d_name field.
  838.  */
  839. /* Direntry_t:
  840.  *    This symbol is set to 'struct direct' or 'struct dirent' depending on
  841.  *    whether dirent is available or not. You should use this pseudo type to
  842.  *    portably declare your directory entries.
  843.  */
  844. #define I_DIRENT        /**/
  845. #define DIRNAMLEN    /**/
  846. #define Direntry_t struct dirent
  847.  
  848. /* I_DLFCN:
  849.  *    This symbol, if defined, indicates that <dlfcn.h> exists and should
  850.  *    be included.
  851.  */
  852. /*#define I_DLFCN        / **/
  853.  
  854. /* I_FCNTL:
  855.  *    This manifest constant tells the C program to include <fcntl.h>.
  856.  */
  857. /*#define I_FCNTL    / **/
  858.  
  859. /* I_FLOAT:
  860.  *    This symbol, if defined, indicates to the C program that it should
  861.  *    include <float.h> to get definition of symbols like DBL_MAX or
  862.  *    DBL_MIN, i.e. machine dependent floating point values.
  863.  */
  864. #define I_FLOAT        /**/
  865.  
  866. /* I_GRP:
  867.  *    This symbol, if defined, indicates to the C program that it should
  868.  *    include <grp.h>.
  869.  */
  870. /* GRPASSWD:
  871.  *    This symbol, if defined, indicates to the C program that struct group
  872.  *    contains gr_passwd.
  873.  */
  874. /* HAS_SETGRENT:
  875.  *    This symbol, if defined, indicates that the getgrent routine is
  876.  *    available for initializing sequential access of the group database.
  877.  */
  878. /* HAS_GETGRENT:
  879.  *    This symbol, if defined, indicates that the getgrent routine is
  880.  *    available for sequential access of the group database.
  881.  */
  882. /* HAS_ENDGRENT:
  883.  *    This symbol, if defined, indicates that the getgrent routine is
  884.  *    available for finalizing sequential access of the group database.
  885.  */
  886. #define I_GRP        /**/
  887. #define GRPASSWD    /**/
  888. #define HAS_SETGRENT    /**/
  889. #define HAS_GETGRENT    /**/
  890. #define HAS_ENDGRENT    /**/
  891.  
  892. /* I_LIMITS:
  893.  *    This symbol, if defined, indicates to the C program that it should
  894.  *    include <limits.h> to get definition of symbols like WORD_BIT or
  895.  *    LONG_MAX, i.e. machine dependant limitations.
  896.  */
  897. #define I_LIMITS        /**/
  898.  
  899. /* I_LOCALE:
  900.  *    This symbol, if defined, indicates to the C program that it should
  901.  *    include <locale.h>.
  902.  */
  903. #define    I_LOCALE        /**/
  904.  
  905. /* I_MATH:
  906.  *    This symbol, if defined, indicates to the C program that it should
  907.  *    include <math.h>.
  908.  */
  909. #define I_MATH        /**/
  910.  
  911. /* I_MEMORY:
  912.  *    This symbol, if defined, indicates to the C program that it should
  913.  *    include <memory.h>.
  914.  */
  915. /*#define I_MEMORY        / **/
  916.  
  917. /* I_NDBM:
  918.  *    This symbol, if defined, indicates that <ndbm.h> exists and should
  919.  *    be included.
  920.  */
  921. #define I_NDBM    /**/
  922.  
  923. /* I_NET_ERRNO:
  924.  *    This symbol, if defined, indicates that <net/errno.h> exists and 
  925.  *    should be included.
  926.  */
  927. /*#define I_NET_ERRNO        / **/
  928.  
  929. /* I_NETINET_IN:
  930.  *    This symbol, if defined, indicates to the C program that it should
  931.  *    include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
  932.  */
  933. #define I_NETINET_IN    /**/
  934.  
  935. /* I_SFIO:
  936.  *    This symbol, if defined, indicates to the C program that it should
  937.  *    include <sfio.h>.
  938.  */
  939. /*#define    I_SFIO        / **/
  940.  
  941. /* I_STDDEF:
  942.  *    This symbol, if defined, indicates that <stddef.h> exists and should
  943.  *    be included.
  944.  */
  945. #define I_STDDEF    /**/
  946.  
  947. /* I_STDLIB:
  948.  *    This symbol, if defined, indicates that <stdlib.h> exists and should
  949.  *    be included.
  950.  */
  951. #define I_STDLIB        /**/
  952.  
  953. /* I_STRING:
  954.  *    This symbol, if defined, indicates to the C program that it should
  955.  *    include <string.h> (USG systems) instead of <strings.h> (BSD systems).
  956.  */
  957. #define I_STRING        /**/
  958.  
  959. /* I_SYS_DIR:
  960.  *    This symbol, if defined, indicates to the C program that it should
  961.  *    include <sys/dir.h>.
  962.  */
  963. #define I_SYS_DIR        /**/
  964.  
  965. /* I_SYS_FILE:
  966.  *    This symbol, if defined, indicates to the C program that it should
  967.  *    include <sys/file.h> to get definition of R_OK and friends.
  968.  */
  969. #define I_SYS_FILE        /**/
  970.  
  971. /* I_SYS_IOCTL:
  972.  *    This symbol, if defined, indicates that <sys/ioctl.h> exists and should
  973.  *    be included. Otherwise, include <sgtty.h> or <termio.h>.
  974.  */
  975. #define    I_SYS_IOCTL        /**/
  976.  
  977. /* I_SYS_NDIR:
  978.  *    This symbol, if defined, indicates to the C program that it should
  979.  *    include <sys/ndir.h>.
  980.  */
  981. /*#define I_SYS_NDIR    / **/
  982.  
  983. /* I_SYS_PARAM:
  984.  *    This symbol, if defined, indicates to the C program that it should
  985.  *    include <sys/param.h>.
  986.  */
  987. #define I_SYS_PARAM        /**/
  988.  
  989. /* I_SYS_RESOURCE:
  990.  *    This symbol, if defined, indicates to the C program that it should
  991.  *    include <sys/resource.h>.
  992.  */
  993. #define I_SYS_RESOURCE        /**/
  994.  
  995. /* I_SYS_SELECT:
  996.  *    This symbol, if defined, indicates to the C program that it should
  997.  *    include <sys/select.h> in order to get definition of struct timeval.
  998.  */
  999. /*#define I_SYS_SELECT    / **/
  1000.  
  1001. /* I_SYS_STAT:
  1002.  *    This symbol, if defined, indicates to the C program that it should
  1003.  *    include <sys/stat.h>.
  1004.  */
  1005. #define    I_SYS_STAT        /**/
  1006.  
  1007. /* I_SYS_TIMES:
  1008.  *    This symbol, if defined, indicates to the C program that it should
  1009.  *    include <sys/times.h>.
  1010.  */
  1011. #define    I_SYS_TIMES        /**/
  1012.  
  1013. /* I_SYS_TYPES:
  1014.  *    This symbol, if defined, indicates to the C program that it should
  1015.  *    include <sys/types.h>.
  1016.  */
  1017. #define    I_SYS_TYPES        /**/
  1018.  
  1019. /* I_SYS_UN:
  1020.  *    This symbol, if defined, indicates to the C program that it should
  1021.  *    include <sys/un.h> to get UNIX domain socket definitions.
  1022.  */
  1023. #define I_SYS_UN        /**/
  1024.  
  1025. /* I_SYS_WAIT:
  1026.  *    This symbol, if defined, indicates to the C program that it should
  1027.  *    include <sys/wait.h>.
  1028.  */
  1029. #define I_SYS_WAIT    /**/
  1030.  
  1031. /* I_TERMIO:
  1032.  *    This symbol, if defined, indicates that the program should include
  1033.  *    <termio.h> rather than <sgtty.h>.  There are also differences in
  1034.  *    the ioctl() calls that depend on the value of this symbol.
  1035.  */
  1036. /* I_TERMIOS:
  1037.  *    This symbol, if defined, indicates that the program should include
  1038.  *    the POSIX termios.h rather than sgtty.h or termio.h.
  1039.  *    There are also differences in the ioctl() calls that depend on the
  1040.  *    value of this symbol.
  1041.  */
  1042. /* I_SGTTY:
  1043.  *    This symbol, if defined, indicates that the program should include
  1044.  *    <sgtty.h> rather than <termio.h>.  There are also differences in
  1045.  *    the ioctl() calls that depend on the value of this symbol.
  1046.  */
  1047. /*#define I_TERMIO        / **/
  1048. #define I_TERMIOS        /**/
  1049. /*#define I_SGTTY        / **/
  1050.  
  1051. /* I_UNISTD:
  1052.  *    This symbol, if defined, indicates to the C program that it should
  1053.  *    include <unistd.h>.
  1054.  */
  1055. #define I_UNISTD        /**/
  1056.  
  1057. /* I_UTIME:
  1058.  *    This symbol, if defined, indicates to the C program that it should
  1059.  *    include <utime.h>.
  1060.  */
  1061. #define I_UTIME        /**/
  1062.  
  1063. /* I_VALUES:
  1064.  *    This symbol, if defined, indicates to the C program that it should
  1065.  *    include <values.h> to get definition of symbols like MINFLOAT or
  1066.  *    MAXLONG, i.e. machine dependant limitations.  Probably, you
  1067.  *    should use <limits.h> instead, if it is available.
  1068.  */
  1069. #define I_VALUES        /**/
  1070.  
  1071. /* I_STDARG:
  1072.  *    This symbol, if defined, indicates that <stdarg.h> exists and should
  1073.  *    be included.
  1074.  */
  1075. /* I_VARARGS:
  1076.  *    This symbol, if defined, indicates to the C program that it should
  1077.  *    include <varargs.h>.
  1078.  */
  1079. #define I_STDARG        /**/
  1080. /*#define I_VARARGS    / **/
  1081.  
  1082. /* I_VFORK:
  1083.  *    This symbol, if defined, indicates to the C program that it should
  1084.  *    include vfork.h.
  1085.  */
  1086. /*#define I_VFORK    / **/
  1087.  
  1088. /* CAN_PROTOTYPE:
  1089.  *    If defined, this macro indicates that the C compiler can handle
  1090.  *    function prototypes.
  1091.  */
  1092. /* _:
  1093.  *    This macro is used to declare function parameters for folks who want
  1094.  *    to make declarations with prototypes using a different style than
  1095.  *    the above macros.  Use double parentheses.  For example:
  1096.  *
  1097.  *        int main _((int argc, char *argv[]));
  1098.  */
  1099. #define    CAN_PROTOTYPE    /**/
  1100. #ifdef CAN_PROTOTYPE
  1101. #define    _(args) args
  1102. #else
  1103. #define    _(args) ()
  1104. #endif
  1105.  
  1106. /* SH_PATH:
  1107.  *    This symbol contains the full pathname to the shell used on this
  1108.  *    on this system to execute Bourne shell scripts.  Usually, this will be
  1109.  *    /bin/sh, though it's possible that some systems will have /bin/ksh,
  1110.  *    /bin/pdksh, /bin/ash, /bin/bash, or even something such as
  1111.  *    D:/bin/sh.exe.
  1112.  */
  1113. #define SH_PATH "/bin/sh"  /**/
  1114.  
  1115. /* STDCHAR:
  1116.  *    This symbol is defined to be the type of char used in stdio.h.
  1117.  *    It has the values "unsigned char" or "char".
  1118.  */
  1119. #define STDCHAR char    /**/
  1120.  
  1121. /* MEM_ALIGNBYTES:
  1122.  *     This symbol contains the number of bytes required to align a
  1123.  *     double. Usual values are 2, 4 and 8.
  1124.  *     On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
  1125.  *     Binaries (MAB) for targets with varying alignment.  This only matters
  1126.  *     for perl, where the config.h can be generated and installed on one
  1127.  *     system, and used by a different architecture to build an extension.
  1128.  *     The default is eight, for safety.
  1129.  */
  1130. #define MEM_ALIGNBYTES 2    /**/
  1131.  
  1132. /* BYTEORDER:
  1133.  *    This symbol holds the hexadecimal constant defined in byteorder,
  1134.  *    i.e. 0x1234 or 0x4321, etc...
  1135.  *    On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
  1136.  *    Binaries (MAB) on either big endian or little endian machines.
  1137.  *    The endian-ness is available at compile-time.  This only matters
  1138.  *    for perl, where the config.h can be generated and installed on 
  1139.  *    one system, and used by a different architecture to build an
  1140.  *    extension.  Older versions of NeXT that might not have
  1141.  *    defined either *_ENDIAN__ were all on Motorola 680x0 series,
  1142.  *    so the default case (for NeXT) is big endian to catch them. 
  1143.  *    This might matter for NeXT 3.0.
  1144.  */
  1145. #ifndef NeXT
  1146. #define BYTEORDER 0x4321    /* large digits for MSB */
  1147. #else  /* NeXT */
  1148. #ifdef __LITTLE_ENDIAN__
  1149. #define BYTEORDER 0x1234
  1150. #else /* __BIG_ENDIAN__ */
  1151. #define BYTEORDER 0x4321
  1152. #endif /* ENDIAN CHECK */
  1153. #endif /* NeXT */
  1154.  
  1155. /* CASTI32:
  1156.  *    This symbol is defined if the C compiler can cast negative
  1157.  *    or large floating point numbers to 32-bit ints.
  1158.  */
  1159. #define    CASTI32        /**/
  1160.  
  1161. /* CASTNEGFLOAT:
  1162.  *    This symbol is defined if the C compiler can cast negative
  1163.  *    numbers to unsigned longs, ints and shorts.
  1164.  */
  1165. /* CASTFLAGS:
  1166.  *    This symbol contains flags that say what difficulties the compiler
  1167.  *    has casting odd floating values to unsigned long:
  1168.  *        0 = ok
  1169.  *        1 = couldn't cast < 0
  1170.  *        2 = couldn't cast >= 0x80000000
  1171.  *        4 = couldn't cast in argument expression list
  1172.  */
  1173. #define    CASTNEGFLOAT        /**/
  1174. #define CASTFLAGS 0        /**/
  1175.  
  1176. /* VOID_CLOSEDIR:
  1177.  *    This symbol, if defined, indicates that the closedir() routine
  1178.  *    does not return a value.
  1179.  */
  1180. /*#define VOID_CLOSEDIR        / **/
  1181.  
  1182. /* Gconvert:
  1183.  *    This preprocessor macro is defined to convert a floating point
  1184.  *    number to a string without a trailing decimal point.  This
  1185.  *    emulates the behavior of sprintf("%g"), but is sometimes much more
  1186.  *    efficient.  If gconvert() is not available, but gcvt() drops the
  1187.  *    trailing decimal point, then gcvt() is used.  If all else fails,
  1188.  *    a macro using sprintf("%g") is used. Arguments for the Gconvert
  1189.  *    macro are: value, number of digits, whether trailing zeros should
  1190.  *    be retained, and the output buffer.
  1191.  *    Possible values are:
  1192.  *        d_Gconvert='gconvert((x),(n),(t),(b))'
  1193.  *        d_Gconvert='gcvt((x),(n),(b))'
  1194.  *        d_Gconvert='sprintf((b),"%.*g",(n),(x))'
  1195.  *    The last two assume trailing zeros should not be kept.
  1196.  */
  1197. #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
  1198.  
  1199. /* HAS_GNULIBC:
  1200.  *    This symbol, if defined, indicates to the C program that 
  1201.  *    the GNU C library is being used.
  1202.  */
  1203. /*#define HAS_GNULIBC      / **/
  1204. /* HAS_ISASCII:
  1205.  *    This manifest constant lets the C program know that isascii 
  1206.  *    is available.
  1207.  */
  1208. #define HAS_ISASCII        /**/
  1209.  
  1210. /* HAS_LCHOWN:
  1211.  *    This symbol, if defined, indicates that the lchown routine is
  1212.  *    available to operate on a symbolic link (instead of following the
  1213.  *    link).
  1214.  */
  1215. /*#define HAS_LCHOWN        / **/
  1216.  
  1217. /* HAS_OPEN3:
  1218.  *    This manifest constant lets the C program know that the three
  1219.  *    argument form of open(2) is available.
  1220.  */
  1221. #define HAS_OPEN3        /**/
  1222.  
  1223. /* HAS_SAFE_BCOPY:
  1224.  *    This symbol, if defined, indicates that the bcopy routine is available
  1225.  *    to copy potentially overlapping memory blocks. Otherwise you should
  1226.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  1227.  *    own version.
  1228.  */
  1229. #define HAS_SAFE_BCOPY    /**/
  1230.  
  1231. /* HAS_SAFE_MEMCPY:
  1232.  *    This symbol, if defined, indicates that the memcpy routine is available
  1233.  *    to copy potentially overlapping memory blocks. Otherwise you should
  1234.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  1235.  *    own version.
  1236.  */
  1237. #define HAS_SAFE_MEMCPY    /**/
  1238.  
  1239. /* HAS_SANE_MEMCMP:
  1240.  *    This symbol, if defined, indicates that the memcmp routine is available
  1241.  *    and can be used to compare relative magnitudes of chars with their high
  1242.  *    bits set.  If it is not defined, roll your own version.
  1243.  */
  1244. #define HAS_SANE_MEMCMP    /**/
  1245.  
  1246. /* HAS_SIGACTION:
  1247.  *    This symbol, if defined, indicates that Vr4's sigaction() routine
  1248.  *    is available.
  1249.  */
  1250. #define HAS_SIGACTION    /**/
  1251.  
  1252. /* Sigjmp_buf:
  1253.  *    This is the buffer type to be used with Sigsetjmp and Siglongjmp.
  1254.  */
  1255. /* Sigsetjmp:
  1256.  *    This macro is used in the same way as sigsetjmp(), but will invoke
  1257.  *    traditional setjmp() if sigsetjmp isn't available.
  1258.  *    See HAS_SIGSETJMP.
  1259.  */
  1260. /* Siglongjmp:
  1261.  *    This macro is used in the same way as siglongjmp(), but will invoke
  1262.  *    traditional longjmp() if siglongjmp isn't available.
  1263.  *    See HAS_SIGSETJMP.
  1264.  */
  1265. #define HAS_SIGSETJMP    /**/
  1266. #ifdef HAS_SIGSETJMP
  1267. #define Sigjmp_buf sigjmp_buf
  1268. #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
  1269. #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
  1270. #else
  1271. #define Sigjmp_buf jmp_buf
  1272. #define Sigsetjmp(buf,save_mask) setjmp((buf))
  1273. #define Siglongjmp(buf,retval) longjmp((buf),(retval))
  1274. #endif
  1275.  
  1276. /* USE_STDIO_PTR:
  1277.  *    This symbol is defined if the _ptr and _cnt fields (or similar)
  1278.  *    of the stdio FILE structure can be used to access the stdio buffer
  1279.  *    for a file handle.  If this is defined, then the FILE_ptr(fp)
  1280.  *    and FILE_cnt(fp) macros will also be defined and should be used
  1281.  *    to access these fields.
  1282.  */
  1283. /* FILE_ptr:
  1284.  *    This macro is used to access the _ptr field (or equivalent) of the
  1285.  *    FILE structure pointed to by its argument. This macro will always be
  1286.  *    defined if USE_STDIO_PTR is defined.
  1287.  */
  1288. /* STDIO_PTR_LVALUE:
  1289.  *    This symbol is defined if the FILE_ptr macro can be used as an
  1290.  *    lvalue.
  1291.  */
  1292. /* FILE_cnt:
  1293.  *    This macro is used to access the _cnt field (or equivalent) of the
  1294.  *    FILE structure pointed to by its argument. This macro will always be
  1295.  *    defined if USE_STDIO_PTR is defined.
  1296.  */
  1297. /* STDIO_CNT_LVALUE:
  1298.  *    This symbol is defined if the FILE_cnt macro can be used as an
  1299.  *    lvalue.
  1300.  */
  1301. /*#define USE_STDIO_PTR     / **/
  1302. #ifdef USE_STDIO_PTR
  1303. #define FILE_ptr(fp)    ((fp)->_ptr)
  1304. /*#define STDIO_PTR_LVALUE         / **/
  1305. #define FILE_cnt(fp)    ((fp)->_cnt)
  1306. /*#define STDIO_CNT_LVALUE         / **/
  1307. #endif
  1308.  
  1309. /* USE_STDIO_BASE:
  1310.  *    This symbol is defined if the _base field (or similar) of the
  1311.  *    stdio FILE structure can be used to access the stdio buffer for
  1312.  *    a file handle.  If this is defined, then the FILE_base(fp) macro
  1313.  *    will also be defined and should be used to access this field.
  1314.  *    Also, the FILE_bufsiz(fp) macro will be defined and should be used
  1315.  *    to determine the number of bytes in the buffer.  USE_STDIO_BASE
  1316.  *    will never be defined unless USE_STDIO_PTR is.
  1317.  */
  1318. /* FILE_base:
  1319.  *    This macro is used to access the _base field (or equivalent) of the
  1320.  *    FILE structure pointed to by its argument. This macro will always be
  1321.  *    defined if USE_STDIO_BASE is defined.
  1322.  */
  1323. /* FILE_bufsiz:
  1324.  *    This macro is used to determine the number of bytes in the I/O
  1325.  *    buffer pointed to by _base field (or equivalent) of the FILE
  1326.  *    structure pointed to its argument. This macro will always be defined
  1327.  *    if USE_STDIO_BASE is defined.
  1328.  */
  1329. /*#define USE_STDIO_BASE     / **/
  1330. #ifdef USE_STDIO_BASE
  1331. #define FILE_base(fp)    ((fp)->_base)
  1332. #define FILE_bufsiz(fp)    ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
  1333. #endif
  1334.  
  1335. /* HAS_VPRINTF:
  1336.  *    This symbol, if defined, indicates that the vprintf routine is available
  1337.  *    to printf with a pointer to an argument list.  If unavailable, you
  1338.  *    may need to write your own, probably in terms of _doprnt().
  1339.  */
  1340. /* USE_CHAR_VSPRINTF:
  1341.  *    This symbol is defined if this system has vsprintf() returning type
  1342.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  1343.  *    is up to the package author to declare vsprintf correctly based on the
  1344.  *    symbol.
  1345.  */
  1346. #define HAS_VPRINTF    /**/
  1347. /*#define USE_CHAR_VSPRINTF     / **/
  1348.  
  1349. /* DOUBLESIZE:
  1350.  *    This symbol contains the size of a double, so that the C preprocessor
  1351.  *    can make decisions based on it.
  1352.  */
  1353. #define DOUBLESIZE 8        /**/
  1354.  
  1355. /* I_TIME:
  1356.  *    This symbol, if defined, indicates to the C program that it should
  1357.  *    include <time.h>.
  1358.  */
  1359. /* I_SYS_TIME:
  1360.  *    This symbol, if defined, indicates to the C program that it should
  1361.  *    include <sys/time.h>.
  1362.  */
  1363. /* I_SYS_TIME_KERNEL:
  1364.  *    This symbol, if defined, indicates to the C program that it should
  1365.  *    include <sys/time.h> with KERNEL defined.
  1366.  */
  1367. /*#define I_TIME        / **/
  1368. #define I_SYS_TIME        /**/
  1369. /*#define I_SYS_TIME_KERNEL        / **/
  1370.  
  1371. /* INTSIZE:
  1372.  *    This symbol contains the value of sizeof(int) so that the C
  1373.  *    preprocessor can make decisions based on it.
  1374.  */
  1375. /* LONGSIZE:
  1376.  *    This symbol contains the value of sizeof(long) so that the C
  1377.  *    preprocessor can make decisions based on it.
  1378.  */
  1379. /* SHORTSIZE:
  1380.  *    This symbol contains the value of sizeof(short) so that the C
  1381.  *    preprocessor can make decisions based on it.
  1382.  */
  1383. #define INTSIZE 4        /**/
  1384. #define LONGSIZE 4        /**/
  1385. #define SHORTSIZE 2        /**/
  1386.  
  1387. /* VAL_O_NONBLOCK:
  1388.  *    This symbol is to be used during open() or fcntl(F_SETFL) to turn on
  1389.  *    non-blocking I/O for the file descriptor. Note that there is no way
  1390.  *    back, i.e. you cannot turn it blocking again this way. If you wish to
  1391.  *    alternatively switch between blocking and non-blocking, use the
  1392.  *    ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
  1393.  */
  1394. /* VAL_EAGAIN:
  1395.  *    This symbol holds the errno error code set by read() when no data was
  1396.  *    present on the non-blocking file descriptor.
  1397.  */
  1398. /* RD_NODATA:
  1399.  *    This symbol holds the return code from read() when no data is present
  1400.  *    on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
  1401.  *    not defined, then you can't distinguish between no data and EOF by
  1402.  *    issuing a read(). You'll have to find another way to tell for sure!
  1403.  */
  1404. /* EOF_NONBLOCK:
  1405.  *    This symbol, if defined, indicates to the C program that a read() on
  1406.  *    a non-blocking file descriptor will return 0 on EOF, and not the value
  1407.  *    held in RD_NODATA (-1 usually, in that case!).
  1408.  */
  1409. #define VAL_O_NONBLOCK O_NONBLOCK
  1410. #define VAL_EAGAIN EAGAIN
  1411. #define RD_NODATA -1
  1412. #define EOF_NONBLOCK
  1413.  
  1414. /* PTRSIZE:
  1415.  *    This symbol contains the size of a pointer, so that the C preprocessor
  1416.  *    can make decisions based on it.  It will be sizeof(void *) if
  1417.  *    the compiler supports (void *); otherwise it will be
  1418.  *    sizeof(char *).
  1419.  */
  1420. #define PTRSIZE 4        /**/
  1421.  
  1422. /* RANDBITS:
  1423.  *    This symbol contains the number of bits of random number the rand()
  1424.  *    function produces.  Usual values are 15, 16, and 31.
  1425.  */
  1426. #define RANDBITS 31        /**/
  1427.  
  1428. /* SSize_t:
  1429.  *    This symbol holds the type used by functions that return
  1430.  *    a count of bytes or an error condition.  It must be a signed type.
  1431.  *    It is usually ssize_t, but may be long or int, etc.
  1432.  *    It may be necessary to include <sys/types.h> or <unistd.h>
  1433.  *    to get any typedef'ed information.
  1434.  *    We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  1435.  */
  1436. #define SSize_t ssize_t     /* signed count of bytes */
  1437.  
  1438. /* OSNAME:
  1439.  *    This symbol contains the name of the operating system, as determined
  1440.  *    by Configure.  You shouldn't rely on it too much; the specific
  1441.  *    feature tests from Configure are generally more reliable.
  1442.  */
  1443. #define OSNAME "amigaos"        /**/
  1444.  
  1445. /* CAT2:
  1446.  *    This macro catenates 2 tokens together.
  1447.  */
  1448. /* STRINGIFY:
  1449.  *    This macro surrounds its token with double quotes.
  1450.  */
  1451. #if 42 == 1
  1452. #define CAT2(a,b)a/**/b
  1453. #define STRINGIFY(a)"a"
  1454.         /* If you can get stringification with catify, tell me how! */
  1455. #endif
  1456. #if 42 == 42
  1457. #define CAT2(a,b)a ## b
  1458. #define StGiFy(a)# a
  1459. #define STRINGIFY(a)StGiFy(a)
  1460. #endif
  1461. #if 42 != 1 && 42 != 42
  1462. #include "Bletch: How does this C preprocessor catenate tokens?"
  1463. #endif
  1464.  
  1465. /* CSH:
  1466.  *    This symbol, if defined, contains the full pathname of csh.
  1467.  */
  1468. /*#define HAS_CSH        / **/
  1469. #ifdef HAS_CSH
  1470. #define CSH "csh"    /**/
  1471. #endif
  1472.  
  1473. /* HAS_ENDHOSTENT:
  1474.  *    This symbol, if defined, indicates that the endhostent() routine is
  1475.  *    available to close whatever was being used for host queries.
  1476.  */
  1477. #define HAS_ENDHOSTENT        /**/
  1478.  
  1479. /* HAS_ENDNETENT:
  1480.  *    This symbol, if defined, indicates that the endnetent() routine is
  1481.  *    available to close whatever was being used for network queries.
  1482.  */
  1483. #define HAS_ENDNETENT        /**/
  1484.  
  1485. /* HAS_ENDPROTOENT:
  1486.  *    This symbol, if defined, indicates that the endprotoent() routine is
  1487.  *    available to close whatever was being used for protocol queries.
  1488.  */
  1489. #define HAS_ENDPROTOENT        /**/
  1490.  
  1491. /* HAS_ENDSERVENT:
  1492.  *    This symbol, if defined, indicates that the endservent() routine is
  1493.  *    available to close whatever was being used for service queries.
  1494.  */
  1495. #define HAS_ENDSERVENT        /**/
  1496.  
  1497. /* HAS_GETHOSTBYADDR:
  1498.  *    This symbol, if defined, indicates that the gethostbyaddr() routine is
  1499.  *    available to look up hosts by their IP addresses.
  1500.  */
  1501. #define HAS_GETHOSTBYADDR        /**/
  1502.  
  1503. /* HAS_GETHOSTBYNAME:
  1504.  *    This symbol, if defined, indicates that the gethostbyname() routine is
  1505.  *    available to look up host names in some data base or other.
  1506.  */
  1507. #define HAS_GETHOSTBYNAME        /**/
  1508.  
  1509. /* HAS_GETHOSTENT:
  1510.  *    This symbol, if defined, indicates that the gethostent() routine is
  1511.  *    available to look up host names in some data base or another.
  1512.  */
  1513. /*#define HAS_GETHOSTENT        / **/
  1514.  
  1515. /* HAS_GETNETBYADDR:
  1516.  *    This symbol, if defined, indicates that the getnetbyaddr() routine is
  1517.  *    available to look up networks by their IP addresses.
  1518.  */
  1519. #define HAS_GETNETBYADDR        /**/
  1520.  
  1521. /* HAS_GETNETBYNAME:
  1522.  *    This symbol, if defined, indicates that the getnetbyname() routine is
  1523.  *    available to look up networks by their names.
  1524.  */
  1525. #define HAS_GETNETBYNAME        /**/
  1526.  
  1527. /* HAS_GETNETENT:
  1528.  *    This symbol, if defined, indicates that the getnetent() routine is
  1529.  *    available to look up network names in some data base or another.
  1530.  */
  1531. #define HAS_GETNETENT        /**/
  1532.  
  1533. /* HAS_GETPROTOENT:
  1534.  *    This symbol, if defined, indicates that the getprotoent() routine is
  1535.  *    available to look up protocols in some data base or another.
  1536.  */
  1537. #define HAS_GETPROTOENT        /**/
  1538.  
  1539. /* HAS_GETPROTOBYNAME:
  1540.  *    This symbol, if defined, indicates that the getprotobyname()
  1541.  *    routine is available to look up protocols by their name.
  1542.  */
  1543. /* HAS_GETPROTOBYNUMBER:
  1544.  *    This symbol, if defined, indicates that the getprotobynumber()
  1545.  *    routine is available to look up protocols by their number.
  1546.  */
  1547. #define HAS_GETPROTOBYNAME        /**/
  1548. #define HAS_GETPROTOBYNUMBER        /**/
  1549.  
  1550. /* HAS_GETSERVENT:
  1551.  *    This symbol, if defined, indicates that the getservent() routine is
  1552.  *    available to look up network services in some data base or another.
  1553.  */
  1554. #define HAS_GETSERVENT        /**/
  1555.  
  1556. /* HAS_GETSERVBYNAME:
  1557.  *    This symbol, if defined, indicates that the getservbyname()
  1558.  *    routine is available to look up services by their name.
  1559.  */
  1560. /* HAS_GETSERVBYPORT:
  1561.  *    This symbol, if defined, indicates that the getservbyport()
  1562.  *    routine is available to look up services by their port.
  1563.  */
  1564. #define HAS_GETSERVBYNAME        /**/
  1565. #define HAS_GETSERVBYPORT        /**/
  1566.  
  1567. /* HAS_LONG_DOUBLE:
  1568.  *    This symbol will be defined if the C compiler supports long
  1569.  *    doubles.
  1570.  */
  1571. /* LONG_DOUBLESIZE:
  1572.  *    This symbol contains the size of a long double, so that the 
  1573.  *    C preprocessor can make decisions based on it.  It is only
  1574.  *    defined if the system supports long doubles.
  1575.  */
  1576. #define HAS_LONG_DOUBLE        /**/
  1577. #ifdef HAS_LONG_DOUBLE
  1578. #define LONG_DOUBLESIZE 8        /**/
  1579. #endif
  1580.  
  1581. /* HAS_LONG_LONG:
  1582.  *    This symbol will be defined if the C compiler supports
  1583.  *    long long.
  1584.  */
  1585. /* LONGLONGSIZE:
  1586.  *    This symbol contains the size of a long long, so that the 
  1587.  *    C preprocessor can make decisions based on it.  It is only
  1588.  *    defined if the system supports long long.
  1589.  */
  1590. #define HAS_LONG_LONG        /**/
  1591. #ifdef HAS_LONG_LONG
  1592. #define LONGLONGSIZE 8        /**/
  1593. #endif
  1594.  
  1595. /* HAS_SETGROUPS:
  1596.  *    This symbol, if defined, indicates that the setgroups() routine is
  1597.  *    available to set the list of process groups.  If unavailable, multiple
  1598.  *    groups are probably not supported.
  1599.  */
  1600. #define HAS_SETGROUPS        /**/
  1601.  
  1602. /* HAS_SETHOSTENT:
  1603.  *    This symbol, if defined, indicates that the sethostent() routine is
  1604.  *    available.
  1605.  */
  1606. #define HAS_SETHOSTENT        /**/
  1607.  
  1608. /* HAS_SETNETENT:
  1609.  *    This symbol, if defined, indicates that the setnetent() routine is
  1610.  *    available.
  1611.  */
  1612. #define HAS_SETNETENT        /**/
  1613.  
  1614. /* HAS_SETPROTOENT:
  1615.  *    This symbol, if defined, indicates that the setprotoent() routine is
  1616.  *    available.
  1617.  */
  1618. #define HAS_SETPROTOENT        /**/
  1619.  
  1620. /* HAS_SETSERVENT:
  1621.  *    This symbol, if defined, indicates that the setservent() routine is
  1622.  *    available.
  1623.  */
  1624. #define HAS_SETSERVENT        /**/
  1625.  
  1626. /* HAS_SETVBUF:
  1627.  *    This symbol, if defined, indicates that the setvbuf routine is
  1628.  *    available to change buffering on an open stdio stream.
  1629.  *    to a line-buffered mode.
  1630.  */
  1631. #define HAS_SETVBUF        /**/
  1632.  
  1633. /* HAS_SOCKET:
  1634.  *    This symbol, if defined, indicates that the BSD socket interface is
  1635.  *    supported.
  1636.  */
  1637. /* HAS_SOCKETPAIR:
  1638.  *    This symbol, if defined, indicates that the BSD socketpair() call is
  1639.  *    supported.
  1640.  */
  1641. #define HAS_SOCKET        /**/
  1642. #define HAS_SOCKETPAIR    /**/
  1643.  
  1644. /* HAS_UNION_SEMUN:
  1645.  *    This symbol, if defined, indicates that the union semun is
  1646.  *    defined by including <sys/sem.h>.  If not, the user code
  1647.  *    probably needs to define it as:
  1648.  *    union semun {
  1649.  *        int val;
  1650.  *        struct semid_ds *buf;
  1651.  *        unsigned short *array;
  1652.  *    }
  1653.  */
  1654. /* USE_SEMCTL_SEMUN:
  1655.  *    This symbol, if defined, indicates that union semun is
  1656.  *    used for semctl IPC_STAT.
  1657.  */
  1658. /* USE_SEMCTL_SEMID_DS:
  1659.  *    This symbol, if defined, indicates that struct semid_ds * is
  1660.  *    used for semctl IPC_STAT.
  1661.  */
  1662. #define HAS_UNION_SEMUN    /**/
  1663. /*#define USE_SEMCTL_SEMUN    / **/
  1664. /*#define USE_SEMCTL_SEMID_DS    / **/
  1665.  
  1666. /* Signal_t:
  1667.  *    This symbol's value is either "void" or "int", corresponding to the
  1668.  *    appropriate return type of a signal handler.  Thus, you can declare
  1669.  *    a signal handler using "Signal_t (*handler)()", and define the
  1670.  *    handler using "Signal_t handler(sig)".
  1671.  */
  1672. #define Signal_t void    /* Signal handler's return type */
  1673.  
  1674. /* Groups_t:
  1675.  *    This symbol holds the type used for the second argument to
  1676.  *    getgroups() and setgropus().  Usually, this is the same as
  1677.  *    gidtype (gid_t) , but sometimes it isn't.
  1678.  *    It can be int, ushort, uid_t, etc... 
  1679.  *    It may be necessary to include <sys/types.h> to get any 
  1680.  *    typedef'ed information.  This is only required if you have
  1681.  *    getgroups() or setgropus()..
  1682.  */
  1683. #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
  1684. #define Groups_t int    /* Type for 2nd arg to [sg]etgroups() */
  1685. #endif
  1686.  
  1687. /* I_NETDB:
  1688.  *    This symbol, if defined, indicates that <netdb.h> exists and
  1689.  *    should be included.
  1690.  */
  1691. #define I_NETDB        /**/
  1692.  
  1693. /* I_PWD:
  1694.  *    This symbol, if defined, indicates to the C program that it should
  1695.  *    include <pwd.h>.
  1696.  */
  1697. /* PWQUOTA:
  1698.  *    This symbol, if defined, indicates to the C program that struct passwd
  1699.  *    contains pw_quota.
  1700.  */
  1701. /* PWAGE:
  1702.  *    This symbol, if defined, indicates to the C program that struct passwd
  1703.  *    contains pw_age.
  1704.  */
  1705. /* PWCHANGE:
  1706.  *    This symbol, if defined, indicates to the C program that struct passwd
  1707.  *    contains pw_change.
  1708.  */
  1709. /* PWCLASS:
  1710.  *    This symbol, if defined, indicates to the C program that struct passwd
  1711.  *    contains pw_class.
  1712.  */
  1713. /* PWEXPIRE:
  1714.  *    This symbol, if defined, indicates to the C program that struct passwd
  1715.  *    contains pw_expire.
  1716.  */
  1717. /* PWCOMMENT:
  1718.  *    This symbol, if defined, indicates to the C program that struct passwd
  1719.  *    contains pw_comment.
  1720.  */
  1721. /* PWGECOS:
  1722.  *    This symbol, if defined, indicates to the C program that struct passwd
  1723.  *    contains pw_gecos.
  1724.  */
  1725. /* PWPASSWD:
  1726.  *    This symbol, if defined, indicates to the C program that struct passwd
  1727.  *    contains pw_passwd.
  1728.  */
  1729. /* HAS_SETPWENT:
  1730.  *    This symbol, if defined, indicates that the getpwrent routine is
  1731.  *    available for initializing sequential access of the passwd database.
  1732.  */
  1733. /* HAS_GETPWENT:
  1734.  *    This symbol, if defined, indicates that the getpwent routine is
  1735.  *    available for sequential access of the password database.
  1736.  */
  1737. /* HAS_ENDPWENT:
  1738.  *    This symbol, if defined, indicates that the getpwent routine is
  1739.  *    available for finalizing sequential access of the passwd database.
  1740.  */
  1741. #define I_PWD        /**/
  1742. /*#define PWQUOTA    / **/
  1743. /*#define PWAGE    / **/
  1744. #define PWCHANGE    /**/
  1745. #define PWCLASS    /**/
  1746. #define PWEXPIRE    /**/
  1747. /*#define PWCOMMENT    / **/
  1748. #define PWGECOS    /**/
  1749. #define PWPASSWD    /**/
  1750. #define HAS_SETPWENT    /**/
  1751. #define HAS_GETPWENT    /**/
  1752. #define HAS_ENDPWENT    /**/
  1753.  
  1754. /* Free_t:
  1755.  *    This variable contains the return type of free().  It is usually
  1756.  * void, but occasionally int.
  1757.  */
  1758. /* Malloc_t:
  1759.  *    This symbol is the type of pointer returned by malloc and realloc.
  1760.  */
  1761. #define Malloc_t void *            /**/
  1762. #define Free_t void            /**/
  1763.  
  1764. /* MYMALLOC:
  1765.  *    This symbol, if defined, indicates that we're using our own malloc.
  1766.  */
  1767. /*#define MYMALLOC            / **/
  1768.  
  1769. /* SIG_NAME:
  1770.  *    This symbol contains a list of signal names in order of
  1771.  *    signal number. This is intended
  1772.  *    to be used as a static array initialization, like this:
  1773.  *        char *sig_name[] = { SIG_NAME };
  1774.  *    The signals in the list are separated with commas, and each signal
  1775.  *    is surrounded by double quotes. There is no leading SIG in the signal
  1776.  *    name, i.e. SIGQUIT is known as "QUIT".
  1777.  *    Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
  1778.  *    etc., where nn is the actual signal number (e.g. NUM37).
  1779.  *    The signal number for sig_name[i] is stored in sig_num[i].
  1780.  *    The last element is 0 to terminate the list with a NULL.  This
  1781.  *    corresponds to the 0 at the end of the sig_num list.
  1782.  */
  1783. /* SIG_NUM:
  1784.  *    This symbol contains a list of signal numbers, in the same order as the
  1785.  *    SIG_NAME list. It is suitable for static array initialization, as in:
  1786.  *        int sig_num[] = { SIG_NUM };
  1787.  *    The signals in the list are separated with commas, and the indices
  1788.  *    within that list and the SIG_NAME list match, so it's easy to compute
  1789.  *    the signal name from a number or vice versa at the price of a small
  1790.  *    dynamic linear lookup. 
  1791.  *    Duplicates are allowed, but are moved to the end of the list.
  1792.  *    The signal number corresponding to sig_name[i] is sig_number[i].
  1793.  *    if (i < NSIG) then sig_number[i] == i.  
  1794.  *    The last element is 0, corresponding to the 0 at the end of
  1795.  *    the sig_name list.
  1796.  */
  1797. #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "URG", "STOP", "TSTP", "CONT", "CHLD", "TTIN", "TTOU", "IO", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "INFO", "USR1", "USR2", "MSG", "IOT", 0        /**/
  1798. #define SIG_NUM  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 6, 0            /**/
  1799.  
  1800. /* VOIDFLAGS:
  1801.  *    This symbol indicates how much support of the void type is given by this
  1802.  *    compiler.  What various bits mean:
  1803.  *
  1804.  *        1 = supports declaration of void
  1805.  *        2 = supports arrays of pointers to functions returning void
  1806.  *        4 = supports comparisons between pointers to void functions and
  1807.  *            addresses of void functions
  1808.  *        8 = suports declaration of generic void pointers
  1809.  *
  1810.  *    The package designer should define VOIDUSED to indicate the requirements
  1811.  *    of the package.  This can be done either by #defining VOIDUSED before
  1812.  *    including config.h, or by defining defvoidused in Myinit.U.  If the
  1813.  *    latter approach is taken, only those flags will be tested.  If the
  1814.  *    level of void support necessary is not present, defines void to int.
  1815.  */
  1816. #ifndef VOIDUSED
  1817. #define VOIDUSED 15
  1818. #endif
  1819. #define VOIDFLAGS 15
  1820. #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
  1821. #define void int        /* is void to be avoided? */
  1822. #define M_VOID            /* Xenix strikes again */
  1823. #endif
  1824.  
  1825. /* ARCHLIB:
  1826.  *    This variable, if defined, holds the name of the directory in
  1827.  *    which the user wants to put architecture-dependent public
  1828.  *    library files for perl5.  It is most often a local directory
  1829.  *    such as /usr/local/lib.  Programs using this variable must be
  1830.  *    prepared to deal with filename expansion.  If ARCHLIB is the
  1831.  *    same as PRIVLIB, it is not defined, since presumably the
  1832.  *    program already searches PRIVLIB.
  1833.  */
  1834. /* ARCHLIB_EXP:
  1835.  *    This symbol contains the ~name expanded version of ARCHLIB, to be used
  1836.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1837.  */
  1838. #define ARCHLIB "/gg/lib/perl5/5.00502/m68k-amigaos"        /**/
  1839. #define ARCHLIB_EXP "/gg/lib/perl5/5.00502/m68k-amigaos"        /**/
  1840.  
  1841. /* DLSYM_NEEDS_UNDERSCORE:
  1842.  *    This symbol, if defined, indicates that we need to prepend an
  1843.  *    underscore to the symbol name before calling dlsym().  This only
  1844.  *    makes sense if you *have* dlsym, which we will presume is the
  1845.  *    case if you're using dl_dlopen.xs.
  1846.  */
  1847. /*#define     DLSYM_NEEDS_UNDERSCORE     / **/
  1848.  
  1849. /* USE_SFIO:
  1850.  *    This symbol, if defined, indicates that sfio should
  1851.  *    be used.
  1852.  */
  1853. /*#define    USE_SFIO        / **/
  1854.  
  1855. /* USE_DYNAMIC_LOADING:
  1856.  *    This symbol, if defined, indicates that dynamic loading of
  1857.  *    some sort is available.
  1858.  */
  1859. #define USE_DYNAMIC_LOADING        /**/
  1860.  
  1861. /* DB_Prefix_t:
  1862.  *    This symbol contains the type of the prefix structure element
  1863.  *    in the <db.h> header file.  In older versions of DB, it was
  1864.  *    int, while in newer ones it is u_int32_t.
  1865.  */
  1866. /* DB_Hash_t:
  1867.  *    This symbol contains the type of the prefix structure element
  1868.  *    in the <db.h> header file.  In older versions of DB, it was
  1869.  *    int, while in newer ones it is size_t.
  1870.  */
  1871. #define DB_Hash_t    u_int32_t        /**/
  1872. #define DB_Prefix_t    size_t      /**/
  1873.  
  1874. /* PRIVLIB:
  1875.  *    This symbol contains the name of the private library for this package.
  1876.  *    The library is private in the sense that it needn't be in anyone's
  1877.  *    execution path, but it should be accessible by the world.  The program
  1878.  *    should be prepared to do ~ expansion.
  1879.  */
  1880. /* PRIVLIB_EXP:
  1881.  *    This symbol contains the ~name expanded version of PRIVLIB, to be used
  1882.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1883.  */
  1884. #define PRIVLIB "/gg/lib/perl5/5.00502"        /**/
  1885. #define PRIVLIB_EXP "/gg/lib/perl5/5.00502"        /**/
  1886.  
  1887. /* SITEARCH:
  1888.  *    This symbol contains the name of the private library for this package.
  1889.  *    The library is private in the sense that it needn't be in anyone's
  1890.  *    execution path, but it should be accessible by the world.  The program
  1891.  *    should be prepared to do ~ expansion.
  1892.  *    The standard distribution will put nothing in this directory.
  1893.  *    Individual sites may place their own extensions and modules in
  1894.  *    this directory.
  1895.  */
  1896. /* SITEARCH_EXP:
  1897.  *    This symbol contains the ~name expanded version of SITEARCH, to be used
  1898.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1899.  */
  1900. #define SITEARCH "/gg/lib/perl5/site_perl/5.005/m68k-amigaos"        /**/
  1901. #define SITEARCH_EXP "/gg/lib/perl5/site_perl/5.005/m68k-amigaos"        /**/
  1902.  
  1903. /* SITELIB:
  1904.  *    This symbol contains the name of the private library for this package.
  1905.  *    The library is private in the sense that it needn't be in anyone's
  1906.  *    execution path, but it should be accessible by the world.  The program
  1907.  *    should be prepared to do ~ expansion.
  1908.  *    The standard distribution will put nothing in this directory.
  1909.  *    Individual sites may place their own extensions and modules in
  1910.  *    this directory.
  1911.  */
  1912. /* SITELIB_EXP:
  1913.  *    This symbol contains the ~name expanded version of SITELIB, to be used
  1914.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1915.  */
  1916. #define SITELIB "/gg/lib/perl5/site_perl/5.005"        /**/
  1917. #define SITELIB_EXP "/gg/lib/perl5/site_perl/5.005"        /**/
  1918.  
  1919. /* STARTPERL:
  1920.  *    This variable contains the string to put in front of a perl
  1921.  *    script to make sure (one hopes) that it runs with perl and not
  1922.  *    some shell.
  1923.  */
  1924. #define STARTPERL "#!/gg/bin/perl"        /**/
  1925.  
  1926. /* USE_PERLIO:
  1927.  *    This symbol, if defined, indicates that the PerlIO abstraction should
  1928.  *    be used throughout.  If not defined, stdio should be
  1929.  *    used in a fully backward compatible manner.
  1930.  */
  1931. #define    USE_PERLIO        /**/
  1932.  
  1933. /* HAS_GETHOST_PROTOS:
  1934.  *    This symbol, if defined, indicates that <netdb.h> includes
  1935.  *    prototypes for gethostent(), gethostbyname(), and
  1936.  *    gethostbyaddr().  Otherwise, it is up to the program to guess
  1937.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1938.  */
  1939. #define    HAS_GETHOST_PROTOS    /**/
  1940.  
  1941. /* HAS_GETNET_PROTOS:
  1942.  *    This symbol, if defined, indicates that <netdb.h> includes
  1943.  *    prototypes for getnetent(), getnetbyname(), and
  1944.  *    getnetbyaddr().  Otherwise, it is up to the program to guess
  1945.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1946.  */
  1947. #define    HAS_GETNET_PROTOS    /**/
  1948.  
  1949. /* HAS_GETPROTO_PROTOS:
  1950.  *    This symbol, if defined, indicates that <netdb.h> includes
  1951.  *    prototypes for getprotoent(), getprotobyname(), and
  1952.  *    getprotobyaddr().  Otherwise, it is up to the program to guess
  1953.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1954.  */
  1955. #define    HAS_GETPROTO_PROTOS    /**/
  1956.  
  1957. /* HAS_GETSERV_PROTOS:
  1958.  *    This symbol, if defined, indicates that <netdb.h> includes
  1959.  *    prototypes for getservent(), getservbyname(), and
  1960.  *    getservbyaddr().  Otherwise, it is up to the program to guess
  1961.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1962.  */
  1963. #define    HAS_GETSERV_PROTOS    /**/
  1964.  
  1965. /* Netdb_host_t:
  1966.  *    This symbol holds the type used for the 1st argument
  1967.  *    to gethostbyaddr().
  1968.  */
  1969. /* Netdb_hlen_t:
  1970.  *    This symbol holds the type used for the 2nd argument
  1971.  *    to gethostbyaddr().
  1972.  */
  1973. /* Netdb_name_t:
  1974.  *    This symbol holds the type used for the argument to
  1975.  *    gethostbyname().
  1976.  */
  1977. /* Netdb_net_t:
  1978.  *    This symbol holds the type used for the 1st argument to
  1979.  *    getnetbyaddr().
  1980.  */
  1981. #define Netdb_host_t        const char * /**/
  1982. #define Netdb_hlen_t        int /**/
  1983. #define Netdb_name_t        const char * /**/
  1984. #define Netdb_net_t        long /**/
  1985.  
  1986. /* Select_fd_set_t:
  1987.  *    This symbol holds the type used for the 2nd, 3rd, and 4th
  1988.  *    arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
  1989.  *    is defined, and 'int *' otherwise.  This is only useful if you 
  1990.  *    have select(), of course.
  1991.  */
  1992. #define Select_fd_set_t     fd_set *    /**/
  1993.  
  1994. /* ARCHNAME:
  1995.  *    This symbol holds a string representing the architecture name.
  1996.  *    It may be used to construct an architecture-dependant pathname
  1997.  *    where library files may be held under a private library, for
  1998.  *    instance.
  1999.  */
  2000. #define ARCHNAME "m68k-amigaos"        /**/
  2001.  
  2002. /* HAS_PTHREAD_YIELD:
  2003.  *    This symbol, if defined, indicates that the pthread_yield 
  2004.  *    routine is available to yield the execution of the current
  2005.  *    thread.
  2006.  */
  2007. /* HAS_SCHED_YIELD:
  2008.  *    This symbol, if defined, indicates that the sched_yield
  2009.  *    routine is available to yield the execution of the current
  2010.  *    thread.
  2011.  */
  2012. /*#define HAS_PTHREAD_YIELD    / **/
  2013. /*#define HAS_SCHED_YIELD    / **/
  2014.  
  2015. /* PTHREADS_CREATED_JOINABLE:
  2016.  *    This symbol, if defined, indicates that pthreads are created
  2017.  *    in the joinable (aka undetached) state.
  2018.  */
  2019. /*#define PTHREADS_CREATED_JOINABLE / **/
  2020.  
  2021. /* USE_THREADS:
  2022.  *    This symbol, if defined, indicates that Perl should
  2023.  *    be built to use threads.
  2024.  */
  2025. /* OLD_PTHREADS_API:
  2026.  *    This symbol, if defined, indicates that Perl should
  2027.  *    be built to use the old draft POSIX threads API.
  2028.  */
  2029. /*#define    USE_THREADS        / **/
  2030. /*#define    OLD_PTHREADS_API        / **/
  2031.  
  2032. /* Time_t:
  2033.  *    This symbol holds the type returned by time(). It can be long,
  2034.  *    or time_t on BSD sites (in which case <sys/types.h> should be
  2035.  *    included).
  2036.  */
  2037. #define Time_t time_t        /* Time type */
  2038.  
  2039. /* HAS_TIMES:
  2040.  *    This symbol, if defined, indicates that the times() routine exists.
  2041.  *    Note that this became obsolete on some systems (SUNOS), which now
  2042.  * use getrusage(). It may be necessary to include <sys/times.h>.
  2043.  */
  2044. #define HAS_TIMES        /**/
  2045.  
  2046. /* Fpos_t:
  2047.  *    This symbol holds the type used to declare file positions in libc.
  2048.  *    It can be fpos_t, long, uint, etc... It may be necessary to include
  2049.  *    <sys/types.h> to get any typedef'ed information.
  2050.  */
  2051. #define Fpos_t fpos_t        /* File position type */
  2052.  
  2053. /* Gid_t:
  2054.  *    This symbol holds the return type of getgid() and the type of
  2055.  *    argument to setrgid() and related functions.  Typically,
  2056.  *    it is the type of group ids in the kernel. It can be int, ushort,
  2057.  *    uid_t, etc... It may be necessary to include <sys/types.h> to get
  2058.  *    any typedef'ed information.
  2059.  */
  2060. #define Gid_t gid_t        /* Type for getgid(), etc... */
  2061.  
  2062. /* Off_t:
  2063.  *    This symbol holds the type used to declare offsets in the kernel.
  2064.  *    It can be int, long, off_t, etc... It may be necessary to include
  2065.  *    <sys/types.h> to get any typedef'ed information.
  2066.  */
  2067. #define Off_t off_t        /* <offset> type */
  2068.  
  2069. /* Mode_t:
  2070.  *    This symbol holds the type used to declare file modes 
  2071.  *    for systems calls.  It is usually mode_t, but may be
  2072.  *    int or unsigned short.  It may be necessary to include <sys/types.h>
  2073.  *    to get any typedef'ed information.
  2074.  */
  2075. #define Mode_t mode_t     /* file mode parameter for system calls */
  2076.  
  2077. /* Pid_t:
  2078.  *    This symbol holds the type used to declare process ids in the kernel.
  2079.  *    It can be int, uint, pid_t, etc... It may be necessary to include
  2080.  *    <sys/types.h> to get any typedef'ed information.
  2081.  */
  2082. #define Pid_t pid_t        /* PID type */
  2083.  
  2084. /* Size_t:
  2085.  *    This symbol holds the type used to declare length parameters
  2086.  *    for string functions.  It is usually size_t, but may be
  2087.  *    unsigned long, int, etc.  It may be necessary to include
  2088.  *    <sys/types.h> to get any typedef'ed information.
  2089.  */
  2090. #define Size_t size_t     /* length paramater for string functions */
  2091.  
  2092. /* Uid_t:
  2093.  *    This symbol holds the type used to declare user ids in the kernel.
  2094.  *    It can be int, ushort, uid_t, etc... It may be necessary to include
  2095.  *    <sys/types.h> to get any typedef'ed information.
  2096.  */
  2097. #define Uid_t uid_t        /* UID type */
  2098.  
  2099. #endif
  2100.